<template>
  <div>
    <div class="tu">
      <Project v-if="this.$route.query.Subject" />
      <Stage v-else-if="this.$route.query.Stage" />
      <Checkpoints v-else-if="this.$route.query.customspass" />
      <CheckProcess v-else-if="this.$route.query.CheckProcess" />
      <DelayProcess v-else-if="this.$route.query.DelayProcess" />
      <Student v-else-if="this.$route.query.Student" />
      <DStudent v-else-if="this.$route.query.DStudent" />
    </div>
  </div>
</template>

<script>
import Project from "@/pages/teacherLogin/Object.vue";
import Stage from "@/pages/teacherLogin/Stage.vue";
import Checkpoints from "@/pages/teacherLogin/Checkpoints.vue";
import CheckProcess from "@/pages/teacherLogin/CheckProcess.vue";
import DelayProcess from "@/pages/teacherLogin/DelayProcess.vue";
import Student from "@/pages/teacherLogin/Student.vue";
import DStudent from "@/pages/teacherLogin/ActiveUser.vue";
export default {
  name: "permission",
  components: {
    Project,
    Stage,
    Checkpoints,
    CheckProcess,
    DelayProcess,
    Student,
    DStudent,
  },
  data() {
    return {
      imgStyle1: {
        backgroundImage: `url(${require("@/assets/images/bgc.png")})`,
      },
    };
  },
};
</script>

<style lang="less" scoped>
.tu {
  padding: 10px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
</style>